import myaxios from "@/api/myaxios";

let orderApi={
    addOrder(order){
        return myaxios.post("/api/order/add",order)
    },
    getOrderStatus(uuid){
      return myaxios.get("/api/order/status?uuid="+uuid)
    },
    getList(query){
        return myaxios.get("/api/order/list",{
            params:{
                ...query
            }
        })
    }
}

export default orderApi